home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 001 / zcdoc987.arc / zcommdoc.af < prev    next >
Text File  |  1987-09-27  |  65KB  |  1,801 lines

  1.  
  2.         Revised 09-05-87                        Universal Line Printer Edition
  3.         ZCOMM User Manual                                                  151
  4.  
  5.  
  6.             line read from the transmit file.
  7.             NOTE: The characters in eolstr are always sent at full speed.
  8.  
  9.             SEE ALSO: entstr, blankfill string parameters
  10.  
  11.         esc Stores an alternate string or command to be executed by the ESC
  12.             key when in term function.
  13.  
  14.         etx Stores an alternate string or command to be executed by ETX
  15.             (Ctrl-C) when in the term function.
  16.  
  17.         exrc Is sent to the modem/executed when an interactive Host Operation
  18.             session logs out.  Es set exrc "@set disks c" resets the disks
  19.             parameter in case privileged (unrestricted) callers modify this
  20.             parameter.
  21.  
  22.  
  23.         h   is set to the hour of the day when expanded in the form hh.
  24.  
  25.             EXAMPLE: echo "It is now %h Hours"
  26.  
  27.  
  28.             SEE ALSO: d, t string parameters
  29.  
  30.         helpfile The pathname that contains the online help file.  You may
  31.             wish to set this in the phone directory "setup" entry.  Iff
  32.             helpfile begins with the character @, the rest of xhelpfile is
  33.             treated as the initial calling sequence of a DOS subprogram such
  34.             as a pop-up menu handler.
  35.  
  36.             SEE ALSO: f, xhelpfile string parameters, help command
  37.  
  38.         home When ZCOMM is invoked, home is set to the current directory.
  39.             When the "cd" command is given without an argument, the directory
  40.             is changed to the contents of home.  When ZCOMM is Restricted,
  41.             absolute pathnames (those beginning with \ or /) must have home as
  42.             a prefix.  This restricts unprivileged users to the directory
  43.             given in home and/or its subdirectories on any of the disks
  44.             allowed by the disks string parameter.  When changing the value of
  45.             home, use slashes (/) and not backslases (\), and do not use a
  46.             disk identifier.
  47.  
  48.             SEE ALSO: disks string parameter
  49.  
  50.         kermreset A string (up to 32 characters) may be sent by Pro-YAM's
  51.             Kermit when it attempts to recover from a transmission error.  The
  52.             default value for this string is empty.  Two metacharacters are
  53.             special: \336 inserts a one second pause, \335 sends a break.
  54.  
  55.         l   l (letter l) indicates selection of a long distance carrier for
  56.             calls to other area codes.  It is set to "1" as a default.  l may
  57.  
  58.  
  59.         (C) 1987 Omen Tech Inc                    Chapter 23 String Parameters
  60.  
  61.  
  62.         Revised 09-05-87                        Universal Line Printer Edition
  63.         ZCOMM User Manual                                                  152
  64.  
  65.  
  66.             set to the access code of the particular alternate long distance
  67.             service desired with a "set" command.
  68.  
  69.             SEE ALSO: m string parameter
  70.  
  71.         lib A string variable which may be used to indicate the directory
  72.             containing scripts.
  73.  
  74.         lpnono Do not send any of the characters in lpnono to the printer.
  75.             lpnono may use ZCOMM Character Escapes to represent control
  76.             characters.
  77.  
  78.             EXAMPLE: set lpnono "\7" prevents the printing of bell characters.
  79.  
  80.  
  81.             SEE ALSO: l mode
  82.  
  83.         m   m is used to indicate selection of a long distance carrier for
  84.             calls within the same area code.  It is set to "1" as a default.
  85.             m may be set to the access code of the particular alternate long
  86.             distance service desired with a "set" command.  It is separate
  87.             from the l string parameter because the default "1" prefix may not
  88.             work if the area code given, but some alternative long distance
  89.             services require the area code to be specified calls within the
  90.             same area code.
  91.  
  92.             SEE ALSO: l string parameter
  93.  
  94.         mcommand A command that is executed instead of ZCOMM's built in
  95.             dialing routine.
  96.  
  97.             This may be either "gosub dial" which would access the "dial"
  98.             entry in the phones file, or "source /dial" which would access the
  99.             script from a separate file.  The second method allows a separate
  100.             "dial" file for each machine, but requires one more file to be
  101.             kept track of.
  102.  
  103.             Note that mcommand does not start with an @.  The default value is
  104.             empty, disabling this function.
  105.  
  106.             EXAMPLE: set mcommand "gosub dial"
  107.  
  108.  
  109.             SEE ALSO: telno string parameter
  110.  
  111.         mconnect A command that is executed or string that is sent to the
  112.             modem when the modem makes a connection.  A typical use is to set
  113.             transparent mode for some Novation modems.  The default value is
  114.             empty, disabling this function.
  115.  
  116.  
  117.  
  118.  
  119.         (C) 1987 Omen Tech Inc                    Chapter 23 String Parameters
  120.  
  121.  
  122.         Revised 09-05-87                        Universal Line Printer Edition
  123.         ZCOMM User Manual                                                  153
  124.  
  125.  
  126.         menu The filename that contains the script accessed by the menu
  127.             command.
  128.  
  129.             EXAMPLE: set menu /host/menu.hst
  130.  
  131.  
  132.         messages Messages entered with the message command are appended to
  133.             this pathname.  By convention, this file should be readable when
  134.             ZCOMM is running in Restricted host mode.
  135.  
  136.             EXAMPLE: set messages "/host/messages"
  137.  
  138.  
  139.         mprefix A command that is executed or a string that is sent to the
  140.             modem as a prefix to dialing a number.  The default ATD works with
  141.             the Hayes Smartmodem(TM) 1200.  ATDT instructs the modem to use
  142.             DTMF (Touch Tone(TM)) dialing instead of pulse dialing.  Character
  143.             escapes may be used.
  144.  
  145.         msuffix A command that is executed or a string sent to the modem after
  146.             the last digit in the phone number.  Most intelligent modems
  147.             require the default value of "\r".
  148.  
  149.         oname1...oname5 contains the information stored by the args string
  150.             parameter for each level.
  151.  
  152.         outahost A command that is executed or a string sent to the modem when
  153.             ZCOMM exits host operation with a F1 or ALT-N key.
  154.  
  155.             EXAMPLE: set outahost ATZ\r sends the ATZ command to a Hayes modem
  156.             to restore its default no autoanswer state.
  157.  
  158.  
  159.         password Changes the password callers must enter to gain access to
  160.             your computer when ZCOMM is in host operation.  If password is
  161.             empty no password will be demanded.
  162.  
  163.             EXAMPLE: set password "Change This Already"
  164.  
  165.  
  166.             SEE ALSO: challeng.t script, demand command
  167.  
  168.         phones The filename that contains the telephone directory entries and
  169.             associated commands used with the call and gosub commands.  The
  170.             default is "/PHODIR.T".  The default may be changed at
  171.             installation time by the putsnp program.  The DOS environment
  172.             variable PHONES will override the default when ZCOMM is started.
  173.             Finally, a set command may be used to change the telephone
  174.             directory once ZCOMM has started.
  175.  
  176.  
  177.  
  178.  
  179.         (C) 1987 Omen Tech Inc                    Chapter 23 String Parameters
  180.  
  181.  
  182.         Revised 09-05-87                        Universal Line Printer Edition
  183.         ZCOMM User Manual                                                  154
  184.  
  185.  
  186.         picture The filename used by the ALT-Z command to "zap" a copy of the
  187.             display memory to the specified file.
  188.  
  189.         plog The filename that contains the file transfer performance log.  If
  190.             empty (the default), this function is disabled.  Not supported on
  191.             8086 small model flavors.
  192.  
  193.         private Pathname that messages are stored into by the private command.
  194.             This should NOT be readable when ZCOMM is running in Restricted
  195.             host mode.
  196.  
  197.             EXAMPLE: set private "/private"
  198.  
  199.  
  200.         pwd This parameter is set to the current working directory by each cd
  201.             and pwd command.
  202.  
  203.         quitcmd Sets the string be sent to the modem or command to be executed
  204.             when a protocol file transfer has been completed and the ALT-Q key
  205.             was typed during that transfer.
  206.  
  207.             EXAMPLE: set quitcmd t\r\336\r\336\r\025off\r would send t<ENTER>,
  208.             a pause, <ENTER>, a pause, <ENTER>, and ^Uoff<ENTER>.  This
  209.             sequence may be useful for automatically logging off Compuserve
  210.             after downloading a file.
  211.  
  212.  
  213.             SEE ALSO: ALT-Q special key
  214.  
  215.         remote ZCOMM reads The full name of the remote system from the
  216.             telephone directory entry when the call command is given.
  217.  
  218.             EXAMPLE: call omen using the omen entry in the distributed
  219.             PHODIR.T file assigns omen-tech to the remote string parameter.
  220.  
  221.             In Host Operation, the caller's name is read into remote.
  222.  
  223.             SEE ALSO: call command,
  224.  
  225.         rub Assigns a string or command to the RUBOUT (Shift Backspace) key.
  226.  
  227.         rxcnt A three digit number which counts the number of files that have
  228.             been created for receiving.  An incoming file with an illegal name
  229.             is changed to rename.n with n is incremented from the value stored
  230.             in rxcnt (or 0).
  231.  
  232.         s   Contains the current time in seconds since the last minute.
  233.  
  234.         s0...s9 These may be tested with the if %sN and if i%sN,string
  235.             commands, or expanded into a string using character escapes with
  236.             the "%sN" construction, where N is 1...9.  Use set param "" (empty
  237.  
  238.  
  239.         (C) 1987 Omen Tech Inc                    Chapter 23 String Parameters
  240.  
  241.  
  242.         Revised 09-05-87                        Universal Line Printer Edition
  243.         ZCOMM User Manual                                                  155
  244.  
  245.  
  246.             string enclosed by double quote characters) to set a string
  247.             parameter to empty.
  248.  
  249.         Soft Keys The f1 to f40 strings are executed by the respective keys
  250.             from the term function, review function, or command prompt.  In
  251.             the term function, soft keys definitions for fins, fdel, fhome,
  252.             fup, fdown, fleft, fright, fend will override ZCOMM's built-in
  253.             definitions for these keys.  The built-in definitions take
  254.             precedence in the review function, conference command, and at the
  255.             command prompt.
  256.  
  257.             ZCOMM's character escapes can be used to encode special
  258.             characters, including spaces and/or tabs.
  259.  
  260.             The contents of these keys may be displayed by ALT-K or by the
  261.             keys command.
  262.  
  263.             If the assigned string begins with "@" (commercial at), the string
  264.             is executed as a command.  A soft key command called from the term
  265.             function should not end with a t or f command because this would
  266.             cause excessive recursion (calling the term function from within
  267.             the term function).  (Use the create or open instead.)
  268.  
  269.             In the conference command, soft keys are inserted into the editing
  270.             window unless they are commands, which are executed.
  271.  
  272.             Soft keys are not executed from review or the command prompt
  273.             unless they are commands (beginning with "@").
  274.  
  275.  
  276.         t   expands to the current time and date each time it is used.
  277.  
  278.             SEE ALSO: d, h string parameters
  279.  
  280.         tab Assigns a string or command to the TAB key.
  281.  
  282.         telno The current telephone number string.
  283.  
  284.             SEE ALSO: mcommand string parameter
  285.  
  286.         tmp A string variable which may be used to indicate the directory used
  287.             for data to be transmitted or received.
  288.  
  289.         twxfile Pathname for storing all incoming TWX messages.  Please refer
  290.             to Chapter 99 on Host Operation for more information.
  291.  
  292.         unrestrict Changes the password callers must enter to allow remote
  293.             functions that are normally restricted such as erasing files,
  294.             listing and changing parameters, and changing to private
  295.             directories.  If unrestrict is empty (the default), the unrestrict
  296.             command will fail.
  297.  
  298.  
  299.         (C) 1987 Omen Tech Inc                    Chapter 23 String Parameters
  300.  
  301.  
  302.         Revised 09-05-87                        Universal Line Printer Edition
  303.         ZCOMM User Manual                                                  156
  304.  
  305.  
  306.             SEE ALSO: unrestrict command
  307.  
  308.         w   Contains the day of the week (local time) as Mon, Tue, Wed, Thu,
  309.             Fri, Sat, or Sun.
  310.  
  311.         welcome is executed after the password (if any) has been demanded and
  312.             accepted.
  313.  
  314.             EXAMPLE: set welcome "@type welcome.txt; purgek; nulls 0"
  315.  
  316.  
  317.         xhelpfile The pathname that contains the online help file for host
  318.             mode commands.  This should be readable when ZCOMM is in
  319.             Restricted Host Operation.  Iff xhelpfile begins with the
  320.             character @, the rest of xhelpfile is treated as the initial
  321.             calling sequence of a DOS subprogram such as a pop-up menu
  322.             handler.
  323.  
  324.             SEE ALSO: f, helpfile string parameters, help command
  325.  
  326.         y0...y127 Read only string parameters y0 to y127 expand to represent
  327.             lines displayed by the term function.  y0 corresponds to the
  328.             current partially finished line as displayed by the term function.
  329.             The last line referenced by becomes the y string parameter current
  330.             line used by the y, yb, and yf string paramrters.  Each time the
  331.             term function displays a newline from the remote, the y parameter
  332.             is set to the new, unfinished line from the remote.
  333.  
  334.         y   expands to represent the y parameter current line.
  335.  
  336.         yb  Referencing the yb read only string parameter backs up the y
  337.             string parameter current line one line, and then represents that
  338.             line.
  339.  
  340.         yf  Referencing the yb read only string parameter advances the y
  341.             string parameter current line one line, and then represents that
  342.             line.
  343.  
  344.             SEE ALSO: H, h test conditions
  345.  
  346.  
  347.  
  348.  
  349.  
  350.  
  351.  
  352.  
  353.  
  354.  
  355.  
  356.  
  357.  
  358.  
  359.         (C) 1987 Omen Tech Inc                    Chapter 23 Character Escapes
  360.  
  361.  
  362.         Revised 09-05-87                        Universal Line Printer Edition
  363.         ZCOMM User Manual                                                  157
  364.  
  365.  
  366.         24.  CHARACTER ESCAPES
  367.  
  368.         Some commands use strings with character escapes similar to those used
  369.         by the C programming language for describing string constants.  When
  370.         translating a string for character escapes, ZCOMM substitutes strings
  371.         (%svar) and then translates the result for backslash (\) encoded
  372.         character escapes.
  373.  
  374.                 String-Parameter    %svar
  375.                 Environment-Param   %SVAR
  376.                 % (per cent)        \045
  377.                 newline (LF)        \n
  378.                 return (CR)         \r
  379.                 tab (HT)            \t
  380.                 backspace (BS)      \b
  381.                 form feed (FF)      \f
  382.                 escape (ESC)        \E
  383.                 transparent         \T
  384.                 lowercase           \L
  385.                 uppercase           \U
  386.                 octal byte          \nnn
  387.                 hex byte            \xHH
  388.                 concatenation       \&
  389.                 backslash           \\
  390.  
  391.         A backslash followed by any character not listed above translates to
  392.         the unadorned character.
  393.  
  394.         %svar is replaced by the value of the corresponding string parameter.
  395.         The string parameter name must be written exactly, in the correct
  396.         case, with no extra letters or digits at the end.  Any non
  397.         alphanumeric character delimits the parameter name.  The DOS
  398.         environment is searched for parameters after exhausting the ZCOMM
  399.         string parameters.[1]
  400.  
  401.  
  402.         The \n, \r, \t, \b, \f, \E, \nnn, \xHH and \\ character escapes
  403.         generate the associated character.
  404.  
  405.         The \T character escape inhibits the processing of character eascpes
  406.         (but not string substitutions) in the remainder of the string.  It is
  407.         useful when the raw string contains backslashes which must not be
  408.         treated as character escapes.
  409.  
  410.         The \L character escape forces the rest of the string to lower case,
  411.  
  412.  
  413.         __________
  414.  
  415.          1. DOS environment parameters are upper case only
  416.  
  417.  
  418.  
  419.         (C) 1987 Omen Tech Inc                    Chapter 24 Character Escapes
  420.  
  421.  
  422.         Revised 09-05-87                        Universal Line Printer Edition
  423.         ZCOMM User Manual                                                  158
  424.  
  425.  
  426.         up to the next \ character.  Likewise, \U forces upper case.
  427.  
  428.         Octal byte escapes (\nnn) accept 1 to 3 octal digits terminated by the
  429.         first non octal digit.  Hex byte escapes (\xHH) accept exactly 2 hex
  430.         digits.
  431.  
  432.         The \& character escape generates nothing; it is useful to delimit the
  433.         lexical end of a string parameter name in string concatenation
  434.         applications.
  435.  
  436.  
  437.         24.1  Concatenating String Parameters
  438.  
  439.         To concatenate the contents of the string parameter with other
  440.         characters, one must escape the next character with a backslash if it
  441.         is a letter or digit.  The \& character escape expands to nothing.
  442.  
  443.         EXAMPLE: Assume string parameter s1 contains "foo".
  444.              putw "%s1\&bar"
  445.         sends "foobar".
  446.              putw "%s1\142ar"
  447.         sends "foobar".
  448.              putw "%s1-skidoo"
  449.         sends "foo-skidoo".
  450.              putw "%s1bar"
  451.         is undefined.
  452.              putw "%s1\bar"
  453.         sends "foo<BS>ar"
  454.  
  455.         Failure to observe this property causes the sets and put commands to
  456.         give unexpected results.
  457.  
  458.  
  459.         An arbitrary byte is generated by backslash followed by one to three
  460.         octal digits.  Note that a 7 bit transmission mode (if set) modifies
  461.         the parity bit of characters transmitted by the term function during
  462.         the put[w] command.
  463.  
  464.  
  465.         24.2  Quoting Strings
  466.  
  467.         Strings must be enclosed by double quotes (Shift ' on the IBM Personal
  468.         Computer) to allow white space and/or semicolon to be included in the
  469.         string.  If a string containing white space were not quoted, it would
  470.         be terminated by the first space or tab, and ZCOMM would consider the
  471.         rest of the intended string as another (incorrect) command.
  472.  
  473.  
  474.  
  475.  
  476.  
  477.  
  478.  
  479.         (C) 1987 Omen Tech Inc                      Chapter 24 Quoting Strings
  480.  
  481.  
  482.         Revised 09-05-87                        Universal Line Printer Edition
  483.         ZCOMM User Manual                                                  159
  484.  
  485.  
  486.         24.3  Layering of Escaped Characters
  487.  
  488.         Sometimes a string will be processed two (or more) times by ZCOMM's
  489.         character escapes.
  490.  
  491.            set f12 "@accept s1 Name:; obey find\ \n%s1\ /PHODIR.T"
  492.  
  493.         This example causes ZCOMM to ask for a name when F12 (shift F-2) is
  494.         typed.  The name is read into string parameter S1, which is then used
  495.         as part of the argument for the find command.  The find command
  496.         searches the telephone directory for lines beginning with the string
  497.         you just typed in.  To match only lines starting with the given
  498.         string, a linefeed (\n) is prepended to the argument of the find
  499.         command.  When the obey command executes, the backslash-space
  500.         sequences translate to spaces, and the double backslash translates to
  501.         a single backslash.
  502.  
  503.         The space after "find" and after "%s1" must be escaped because the
  504.         obey command accepts a single string argument.  If these spaces were
  505.         not escaped, the obey command would not "see" the rest of the line
  506.         after "find".
  507.  
  508.         The find command performs its own character escape translation,
  509.         changing the \n to a linefeed character.
  510.  
  511.  
  512.  
  513.  
  514.  
  515.  
  516.  
  517.  
  518.  
  519.  
  520.  
  521.  
  522.  
  523.  
  524.  
  525.  
  526.  
  527.  
  528.  
  529.  
  530.  
  531.  
  532.  
  533.  
  534.  
  535.  
  536.  
  537.  
  538.  
  539.         (C) 1987 Omen Tech Inc                      Chapter 24 Test Conditions
  540.  
  541.  
  542.         Revised 09-05-87                        Universal Line Printer Edition
  543.         ZCOMM User Manual                                                  160
  544.  
  545.  
  546.         25.  TEST CONDITIONS (if, on, while commands)
  547.  
  548.         The following conditions may be tested with the if, on and while
  549.         commands.
  550.  
  551.         Where a string parameter is indicated, it is an error to specify a
  552.         nonexistient string parameter.
  553.  
  554.         When an immediate string argument is indicated, that argument is
  555.         delimited only by white space.  As a result,
  556.                            if "is1,hello&&L<5" command ...
  557.         won't work as expected, but
  558.                           if is1,hello if "L<5" command ...
  559.         will work.
  560.  
  561.         Some of the test conditions described below may be used with ">",
  562.         "==", "!=", or "<" for numeric comparisions.  The right hand argument
  563.         of a numeric comparision may be:
  564.  
  565.            + A decimal number.
  566.  
  567.              EXAMPLE:      if "L>5" abort
  568.  
  569.  
  570.            + A string paremeter which contains a decimal number.
  571.  
  572.              EXAMPLE:      set maxloops "5"
  573.                   if "L>maxloops" abort
  574.  
  575.  
  576.            + The length of the string stored in a string parameter, denoted by
  577.              a leading % character.
  578.  
  579.              EXAMPLE:      set s1 "Hello"
  580.                   set s2 "foo"
  581.                   if "%s1>%s2" echo "%s1 is longer than %s2"
  582.  
  583.         These comparisions should be quoted in case a future version of ZCOMM
  584.         implements output redirection in the same manner as COMMAND.COM or the
  585.         Unix shell.
  586.  
  587.         Numeric conditions may also be tested against a bit mask using the &
  588.         operator.
  589.  
  590.         EXAMPLE:      if s&64 echo "Caps Lock is ON"
  591.  
  592.  
  593.  
  594.         0...25 The specified pattern (see pattern command) was matched in the
  595.           last wait command.
  596.  
  597.  
  598.  
  599.         (C) 1987 Omen Tech Inc                      Chapter 25 Test Conditions
  600.  
  601.  
  602.         Revised 09-05-87                        Universal Line Printer Edition
  603.         ZCOMM User Manual                                                  161
  604.  
  605.  
  606.         %svar The specified string parameter svar (see the set command) is non
  607.           empty.  May be used with ">", "==", or "<" for numeric comparisions
  608.           of the string length of svar.
  609.           EXAMPLE: if %s1 putw %s1
  610.  
  611.         ? The ?  numeric parameter counts the number of files sent or received
  612.           with a protocol, and the number of lines matched by the find
  613.           command.  The fFILE test condition (if true) assigns the file length
  614.           to the ?  parameter.[1] With certain operating systems, the exit
  615.           status of a subprogram accessed by a shell escape is stored in the ?
  616.           numeric parameter.
  617.  
  618.           The ?  numeric parameter may then be tested with the ?  test
  619.           condition.  It can be used with ">", "==", or "<" for numeric
  620.           comparisions.
  621.  
  622.           EXAMPLE: p?0 find fizzbin *.txt; if ? echo "Found fizzbin"
  623.  
  624.  
  625.           SEE ALSO: ?  numeric parameter
  626.  
  627.         B True iff Ctrl-Break has been pressed since the last purgek command.
  628.  
  629.         Csvar True iff string parameter svar contains any control characters
  630.           less than 040 (hex 20) or rubout.
  631.  
  632.           EXAMPLE: if Cs0 echo "Please Retype
  633.  
  634.  
  635.         E True iff the elapsed time in seconds is non 0.  May be used with
  636.           ">", "==", or "<" for numeric comparisions.
  637.           NOTE: Elapsed time may be off by up to one second.  The maximum
  638.           testable value for elapsed time is 32767 seconds.
  639.           EXAMPLE: if "E>300" off Disconnects the modem if the elapsed time is
  640.           greater than 300 seconds.
  641.  
  642.           SEE ALSO: restime command
  643.  
  644.         F>N True iff more than N kilobytes of free space remain on the default
  645.           drive.
  646.  
  647.           EXAMPLE: if "F>2000" usq hugefile.q
  648.  
  649.  
  650.  
  651.  
  652.         __________
  653.  
  654.          1. On 16 bit computers, file lengths greater than 32767 are
  655.             represented as 32767.
  656.  
  657.  
  658.  
  659.         (C) 1987 Omen Tech Inc                      Chapter 25 Test Conditions
  660.  
  661.  
  662.         Revised 09-05-87                        Universal Line Printer Edition
  663.         ZCOMM User Manual                                                  162
  664.  
  665.  
  666.         Hregular-expression Searches backward thru the circular buffer for the
  667.           next line matching regular-expression.  If the search is successful,
  668.           the y string parameter points to the matched line.
  669.  
  670.           EXAMPLE: To allow processing of information such as:
  671.  
  672.                5 Review folder UFO  (0 stories)
  673.  
  674.           (a typical news item in the Executive News Service), one must scan
  675.           for lines with a certain pattern (in this case the character "("
  676.           immediately followed by 1...9 indicating 1 or more stories).
  677.  
  678.                while "H\([1-9]" ss (rest of line)
  679.  
  680.           The above searches backwards for the next line containing "(1" to
  681.           "(9".  Note that "(" is a magic character in regular-expressions,
  682.           and must be escaped.
  683.  
  684.  
  685.           The h test condition is similar, but starts the search with the last
  686.           displayed line.
  687.  
  688.  
  689.           SEE ALSO: ens.t and kcdisl.t scripts, regular-expressions, y, yb,
  690.           y0...y127 string parameters
  691.  
  692.         Isvara,svarb Tests whether the contents of string variable svara are
  693.           IDENTICAL to the contents of string variable svarb.  Case is
  694.           significant.
  695.  
  696.           EXAMPLE: if Is0,s9 goto exactmatch
  697.  
  698.  
  699.           SEE ALSO: i test condition (compares a string parameter and an
  700.           immediate string)
  701.  
  702.         Jsvar,string Tests whether any of the characters in the immediate
  703.           string string appear one or more times in string parameter svar.
  704.  
  705.           EXAMPLE:
  706.           if "Js0,!@#$%^&()_" echo "No funny characters"; goto getname
  707.  
  708.  
  709.         L>N True iff this while command has made more then N loops.
  710.  
  711.           EXAMPLE: while !1 put "\r" wait ife "L>5" off Disconnects the modem
  712.           if the while command has sent more than five "\r"'s.  The "L>N"
  713.           should be quoted in case a future version of ZCOMM implements output
  714.           redirection in the same manner as command.com or the Unix shell.
  715.  
  716.  
  717.  
  718.  
  719.         (C) 1987 Omen Tech Inc                      Chapter 25 Test Conditions
  720.  
  721.  
  722.         Revised 09-05-87                        Universal Line Printer Edition
  723.         ZCOMM User Manual                                                  163
  724.  
  725.  
  726.         R>N After a
  727.                                       zcommand ""
  728.           command, evaluates true iff more than N kilobytes of free space
  729.           remain on the remote system's default disk drive.
  730.  
  731.           EXAMPLE: zcommand ""; if "R>1000" sz -y hugefile
  732.  
  733.  
  734.         S>N True iff the transmission speed is greater N bits per second.
  735.  
  736.           EXAMPLE: if S>2400 put "set verbose\r"
  737.  
  738.  
  739.         asvar The numeric value of the specified string parameter svar is non
  740.           zero.  May be used with ">", "==", or "<" for numeric comparisions.
  741.           The string variable may contain leading spaces or tabs, an optional
  742.           + or - sign, and digits.
  743.  
  744.           EXAMPLE: if "as1==30" goto seen30 Performs the goto if s1 contains
  745.           "30".
  746.  
  747.  
  748.         bTIME True if the current time is Before TIME.  TIME is written in the
  749.           form [yy[mm[dd]]]hhmm.  No further conditions may be given in the if
  750.           statement after the b condition.
  751.  
  752.           EXAMPLE: if b2300 return Returns from the script if the time is
  753.           before 11 p.m.
  754.  
  755.  
  756.           EXAMPLE: if b8512250900 return Returns from the script if the
  757.           date/time is before 9 a.m.  Christmas day in 1985.
  758.  
  759.  
  760.         c Carrier detect is present on the modem port.
  761.  
  762.           EXAMPLE: if !c goto lostit
  763.  
  764.  
  765.         d{?DLPSXZacdflmrtu} True iff the corresponding configuration is true:
  766.  
  767.             ?
  768.  
  769.             file transfer True if the last file sent or received with a
  770.               protocol resulted in an error.
  771.  
  772.             D The script is running on a demonstration program.
  773.  
  774.             L True if ZCOMM is recording TurboLearn(TM) script information
  775.               (learn command).
  776.  
  777.  
  778.  
  779.         (C) 1987 Omen Tech Inc                      Chapter 25 Test Conditions
  780.  
  781.  
  782.         Revised 09-05-87                        Universal Line Printer Edition
  783.         ZCOMM User Manual                                                  164
  784.  
  785.  
  786.             P Packet state is active (X.PC driver).
  787.  
  788.             S The script is running on a user supported program (e.g., ZCOMM).
  789.  
  790.             U True if ZCOMM was unrestricted when the first level of the
  791.               current set of scripts was activated.
  792.  
  793.               SEE ALSO: u test condition
  794.  
  795.             X The X.PC commands are available.
  796.  
  797.               EXAMPLE: if dX goto xpclogin
  798.  
  799.  
  800.             Z The ZMODEM commands are available.
  801.  
  802.               EXAMPLE: if dZ sz -n logfile
  803.  
  804.  
  805.             a>N True iff ZCOMM was called from the operating system with more
  806.               than N arguments (counting the program name).
  807.  
  808.             c The color/graphics display is selected.
  809.  
  810.             d ZCOMM is executing under DOS.
  811.  
  812.             f The program is running in the foreground.  A script is
  813.               considered to be running in the foreground when it is NOT called
  814.               by the Callout Queue as described in Chapter 99.  A program
  815.               running in the background is unlikely to have an operator
  816.               available for interaction.
  817.  
  818.             l>N True iff the script level (nesting) is greatern than N.
  819.  
  820.             m The monochrome display is selected.
  821.  
  822.             r Data Set Ready (DSR) on the modem is active.
  823.  
  824.             t ZCOMM is running under a Topview or DESQview virtual screen
  825.               which may be smaller than the physical screen size
  826.  
  827.             u ZCOMM is executing under Unix/Xenix.
  828.  
  829.         e True iff an t, sz, or rz command terminated with an error, or if the
  830.           term function has detected framing or overrun errors, since the last
  831.           autodial.
  832.  
  833.         e>N True iff the e parameter (number of errors) is greater than N.
  834.  
  835.           EXAMPLE: if "e>5" off Disconnects the modem if more than 5 errors
  836.           have been counted.
  837.  
  838.  
  839.         (C) 1987 Omen Tech Inc                      Chapter 25 Test Conditions
  840.  
  841.  
  842.         Revised 09-05-87                        Universal Line Printer Edition
  843.         ZCOMM User Manual                                                  165
  844.  
  845.  
  846.           The "e>N" should be quoted in case a future version of ZCOMM
  847.           implements output redirection in the same manner as command.com or
  848.           the Unix shell.
  849.           NOTE: The e parameter is not compared within the term function, so
  850.           "detection" may be delayed.
  851.  
  852.           SEE ALSO: e numeric parameter
  853.  
  854.         fFILE (No space between f and FILE).  Tests whether FILE exists as a
  855.           normal readable file (not a directory or hidden file).  FILE is
  856.           expanded for string parameters.  If the test is successful, the ?
  857.           numeric parameter (testable with the ?  test condition) is set to
  858.           the file length.  [2]
  859.  
  860.           EXAMPLE: if fnit put "message\r"; f -xp nit; put "\r\336y" If nit
  861.           exists, give a "message" command, upload the file, then send
  862.           carriage return, pause, and the letter "y".
  863.  
  864.           When used in a numeric context, the fFILE test represents the size
  865.           of the file in kilobytes (1024 bytes), or 1, whichever is greater.
  866.  
  867.           EXAMPLE: if ffoo.bar>30 echo "File Longer than 30kb"
  868.  
  869.  
  870.           EXAMPLE: if fspy.kgb if !% echo "Zero Length File"
  871.  
  872.           SEE ALSO: obey command
  873.  
  874.         g Tests whether term function file transmission flow is go (not
  875.           stopped by an XOFF character).
  876.  
  877.           EXAMPLE: if !g echo "Remote has not sent XON"; pg1
  878.  
  879.  
  880.           SEE ALSO: g mode, term function XON and XOFF
  881.  
  882.         hregular-expression Please refer to the Hregular-expression test
  883.           condition.
  884.  
  885.         isvar,string Tests whether the contents of string variable svar are
  886.           identical to the immediate string string.  Case is significant.  No
  887.           further conditions may be given in the if statement after the i
  888.           condition.  This test is useful in designing menu applications.  The
  889.           menu script menu.hst uses this test condition extensively.
  890.  
  891.  
  892.         __________
  893.  
  894.          2. On 16 bit computers, file lengths greater than 32767 are
  895.             represented as 32767.
  896.  
  897.  
  898.  
  899.         (C) 1987 Omen Tech Inc                      Chapter 25 Test Conditions
  900.  
  901.  
  902.         Revised 09-05-87                        Universal Line Printer Edition
  903.         ZCOMM User Manual                                                  166
  904.  
  905.  
  906.           EXAMPLE: accept s1 Choice:; if is1,a goto choicea Executes a goto
  907.           choicea if the user keyboards an a in response to the "Choice:"
  908.           prompt.
  909.  
  910.  
  911.           SEE ALSO: I test condition (compares two string parameters)
  912.  
  913.         jsvar,string Tests whether the immediate string string is a substring
  914.           of (contained somewhere within) the contents of string variable
  915.           svar.  Lower case characters in string match characters in either
  916.           case.  Upper case characters in string match upper case characters.
  917.           No further conditions may be given in the if statement after the j
  918.           condition.  This test is useful in designing menu applications, and
  919.           for examining message lines read with the grab command.
  920.  
  921.           EXAMPLE: grab s1; if js1,sig= goto endofsig Executes a goto if the
  922.           line read by the grab command contained "sig=" or "This SIG=".
  923.  
  924.  
  925.         k One or more characters have been received from the keyboard and are
  926.           in the interrupt queue awaiting processing.  Note: Keyboard
  927.           characters are transmitted to the remote by the term function,
  928.           except during a put command.
  929.  
  930.         l True if the line printer is ready to accept a character.
  931.  
  932.         m One or more characters have been received from the modem and are in
  933.           the interrupt queue awaiting processing.
  934.  
  935.         n No pattern was matched as a result of the last wait command or
  936.           search pending term function.  n detects a search timeout, loss of
  937.           carrier, or manual exit with F1 or ALT-X.
  938.  
  939.         psvar,string Tests whether the immediate string string is a prefix of
  940.           the contents of string variable svar.  The match is case sensitive.
  941.           No further conditions may be given in the if statement after the p
  942.           condition.  This test is useful for examining message lines read
  943.           with the grab command.
  944.  
  945.           EXAMPLE: grab s1; if ps1,sig= goto endofsig Executes a goto if the
  946.           line read by the grab command contained "sig=", but not if it
  947.           contained "This sig=" or "SIG=".
  948.  
  949.  
  950.         r True iff a receive file is open for capture.
  951.  
  952.           SEE ALSO: create, t commands
  953.  
  954.         s>N True iff the keyboard shift state is greater than N.
  955.  
  956.           EXAMPLE: if "s>63" echo "Caps Lock is Active"
  957.  
  958.  
  959.         (C) 1987 Omen Tech Inc                      Chapter 25 Test Conditions
  960.  
  961.  
  962.         Revised 09-05-87                        Universal Line Printer Edition
  963.         ZCOMM User Manual                                                  167
  964.  
  965.  
  966.         t True iff a transmit file is open.
  967.  
  968.           EXAMPLE: if !t echoc "%1 Short file! ";  goto foobar
  969.  
  970.  
  971.           SEE ALSO: f, open commands
  972.  
  973.         u True if ZCOMM is unrestricted.
  974.  
  975.           SEE ALSO: U test condition
  976.  
  977.         v True if the v (Verbose) numeric parameter is non zero.
  978.  
  979.           EXAMPLE: if v s Displays the status on the console if the v numeric
  980.           parameter (Verbose) is non zero.
  981.  
  982.  
  983.         y ZCOMM accepts a single character from the keyboard, which is printed
  984.           followed by a newline.  True if the character is "y" or "Y".  False
  985.           the H numeric is non zero, and a character is not typed within the
  986.           time limit set by that parameter.
  987.  
  988.           EXAMPLE: echo "Really quit?"; if y quit
  989.  
  990.  
  991.         Compound tests may be formed with the unary ! (not), binary || (or),
  992.         and binary && (and) operators.  The tests are evaluated strictly left
  993.         to right.  The unary ! operator applies to the following operand only.
  994.  
  995.         EXAMPLE: if n&&!n||c echo "Carrier Present" simply tests carrier
  996.         because the result of the binary and operation above is always false.
  997.  
  998.         EXAMPLE: if !c||1||2 o abort Disconnects the modem and aborts the
  999.         script if carrier is off, or if either pattern 1 or pattern 2 were
  1000.         matched.
  1001.  
  1002.  
  1003.         EXAMPLE: on e>45||!c goto allsignd Each time the term function
  1004.         returns, branch to the end of the script if carrier is lost or more
  1005.         than 45 line hits have been detected.
  1006.  
  1007.  
  1008.  
  1009.  
  1010.  
  1011.  
  1012.  
  1013.  
  1014.  
  1015.  
  1016.  
  1017.  
  1018.  
  1019.         (C) 1987 Omen Tech Inc                 Chapter 25 Software Coexistence
  1020.  
  1021.  
  1022.         Revised 09-05-87                        Universal Line Printer Edition
  1023.         ZCOMM User Manual                                                  168
  1024.  
  1025.  
  1026.         26.  SOFTWARE COEXISTENCE
  1027.  
  1028.         Some programs and device drivers affecting the operation of PC-DOS may
  1029.         interfere with ZCOMM, especially when ZCOMM is operating at high baud
  1030.         rates.  Historically, loss and corruption of data have been caused by
  1031.         memory resident programs.  Some of these programs increase interrupt
  1032.         latency preventing ZCOMM from reading a character from the UART
  1033.         holding register before the next character comes in on top of it.  In
  1034.         other cases, programs do not properly restore the state of the machine
  1035.         when they exit from interrupts.
  1036.  
  1037.         If such a problem is suspected, run ZCOMM without any memory resident
  1038.         programs or special drivers to locate the source of the problem.  Once
  1039.         the offending program is identified, a call to the program's vendor
  1040.         may obtain a corrected version.
  1041.  
  1042.         The design of memory resident programs is a little known black art.
  1043.         Subtle bugs, non reproducible interactions, and magic combinations are
  1044.         commonplace results of attempts to impose various aspects of
  1045.         multitaksing on top of an operating system that was not properly
  1046.         designed to permit such extensions.  Omen Technology Inc may be able
  1047.         to help identify these interactions if provided with the source code
  1048.         of the offending programs.
  1049.  
  1050.  
  1051.         26.1  PolyWindows
  1052.  
  1053.         POLYTRON's memory-resident deskyop organizer PolyWindows DeskPlus has
  1054.         been tested with ZCOMM.  If you experience any problems with
  1055.         PolyWindows working with ZCOMM, call Polytron for assistance.
  1056.  
  1057.         Some of the known troublemakers are mentioned below.
  1058.  
  1059.         26.2  DOS 3.2
  1060.  
  1061.         DOS 3.2 introduces the concept of a fixed number of interrupt stacks.
  1062.         The default value chosen is not always sufficient, and DOS 3.2
  1063.         sometimes prints the infamous Internal Stack Failure message and
  1064.         cheerfully halts the computer.  Adding the line STACKS=20,128 to the
  1065.         CONFIG.SYS file should correct the problem.
  1066.  
  1067.         26.3  Extended Memory RAMDISKS
  1068.  
  1069.         Extended Memory electronic disks (ramdisks) require the 80286 chip to
  1070.         switch in and out of protected mode during block transfers.  A
  1071.         hardware reset pulse is used to switch back to the "real mode"
  1072.         required for DOS.  This causes loss of modem data at high speeds.
  1073.  
  1074.         It may be possible to reduce excessive interrupt latency by reducing
  1075.         the length of protected mode block transfers to 128 or less.  In one
  1076.         instance, replacing the ROM BIOS with a newer version increased the
  1077.  
  1078.  
  1079.         (C) 1987 Omen Tech Inc                 Chapter 26 Software Coexistence
  1080.  
  1081.  
  1082.         Revised 09-05-87                        Universal Line Printer Edition
  1083.         ZCOMM User Manual                                                  169
  1084.  
  1085.  
  1086.         maximum transmission speed without losing characters to 9600 bps.
  1087.  
  1088.         This problem has not been observed with expanded memory
  1089.         (Intel/Lotus/AST/etc.) ramdisks.
  1090.  
  1091.         26.4  Disk Drivers
  1092.  
  1093.         Disk drivers, especially hard disk drivers for 80286 machines, lock
  1094.         out interrupts for varying periods of time.  The actual interrupt
  1095.         latency depends on the speed of the computer and the particular BIOS
  1096.         code used.  In one case, upgrading to a newer BIOS allowed operation
  1097.         at 38400 bps, compared to 4800 bps previously.  Such an improvement is
  1098.         well worth the small ($25 typical) cost of a new set of ROB BIOS
  1099.         chips.
  1100.  
  1101.         26.5  DOS 3.x
  1102.  
  1103.         Each new version of PC-DOS adds new features and eats up more of the
  1104.         8088's meager resources.  DOS 3.2 increases interrupt latency enough
  1105.         to interfere with ZCOMM's operation at 19200 bps on an IBM PC.  If
  1106.         this is a problem, switching to DOS 2.1 will reduce the interrupt
  1107.         latency.
  1108.  
  1109.         26.6  EGA Wonder
  1110.  
  1111.         The BIOS in the ATI EGA Wonder has been observed to increase interrupt
  1112.         latency to the dismay of 9600 bps operation on an 8 mHz no wait state
  1113.         AT clone.  There has also been a report (unexplained) that an EGA
  1114.         board has induced line noise in one instance.
  1115.  
  1116.         26.7  ProKey
  1117.  
  1118.         Some versions of ProKey disable interrupts for excessive periods of
  1119.         time, dropping incoming modem characters.
  1120.  
  1121.         26.8  FANSI-Console
  1122.  
  1123.         Versions of this program before 1.07 did not maintain the pointer to
  1124.         the active display board in the IBM documented memory location.  A DOS
  1125.         mode command may cause ZCOMM to reference the wrong display adapter
  1126.         address.  This caused incorrect sync signals and possible damage to
  1127.         certain monitors.
  1128.  
  1129.         Current versions (2.X) increase interrupt latency enough that the
  1130.         serial line drops characters when the keyboard is touched.
  1131.  
  1132.  
  1133.  
  1134.  
  1135.  
  1136.  
  1137.  
  1138.  
  1139.         (C) 1987 Omen Tech Inc                 Chapter 26 Software Coexistence
  1140.  
  1141.  
  1142.         Revised 09-05-87                        Universal Line Printer Edition
  1143.         ZCOMM User Manual                                                  170
  1144.  
  1145.  
  1146.         26.9  Seaware Batch
  1147.  
  1148.         Versions of this program has been known to cause loss of data.
  1149.  
  1150.         26.10  Pathname Modifiers
  1151.  
  1152.         Programs such as FILEPATH and GLOBALS allow files to be visible in
  1153.         more than one directory at a time.  Such programs may interfere with
  1154.         security when ZCOMM is restricted, since that security is based on
  1155.         restricting access to directories.  In general, sensitive files should
  1156.         not be made global when ZCOMM is made accessible to outside callers.
  1157.  
  1158.         ZCOMM may not recognize file names generated by such programs unless
  1159.         the program traps the DOS FINDFIRST calls as well as the file open
  1160.         calls.
  1161.  
  1162.         We have received various reports of strange behavior which have been
  1163.         traced to filesystem modifications caused by such programs, including
  1164.         damaged file systems.  We recommend such programs be phased out as
  1165.         soon as possible, as they may not operate at all with future versions
  1166.         of DOS or distributed file systems.
  1167.  
  1168.         26.11  BRKBOX
  1169.  
  1170.         This program locks out interrupts up to 17 milliseconds while waiting
  1171.         for the vertical retrace.  For a communications program, 17
  1172.         milliseconds is a very long time, and data will be lost at speeds
  1173.         above 300 bps.
  1174.  
  1175.         26.12  CGCLOCK
  1176.  
  1177.         Programs such as CGCLOCK.COM use clock interrupts to update a time
  1178.         display on the screen.  Some increase interrupt latency so much that
  1179.         ZCOMM cannot respond in time to accept characters from the remote,
  1180.         even at 1200 baud.
  1181.  
  1182.         26.13  Concurrent PC-DOS
  1183.  
  1184.         ZCOMM runs under Version 4.1 of Digital Research Concurrent PC-DOS
  1185.         (CPCDOS).  The - numeric parameter must be set to 0.  The CPCDOS
  1186.         "addmem" command sould be used to allocate extra memory if shell
  1187.         escapes are to be used.
  1188.  
  1189.         26.14  ANSI.SYS
  1190.  
  1191.         ZCOMM uses direct keyboard input from the ROM BIOS because the DOS
  1192.         keyboard input calls do not handle Ctrl-BREAK properly.  As a side
  1193.         effect, keyboard keys redefined by ANSI.SYS have no effect on ZCOMM's
  1194.         operation.  It is possible to program some of the keys to call ZCOMM
  1195.         with arguments.  The following file, ressaigns ALT-C, ALT-H, and ALT-V
  1196.         to execute the commands shown below.  The $ character represents
  1197.  
  1198.  
  1199.         (C) 1987 Omen Tech Inc                 Chapter 26 Software Coexistence
  1200.  
  1201.  
  1202.         Revised 09-05-87                        Universal Line Printer Edition
  1203.         ZCOMM User Manual                                                  171
  1204.  
  1205.  
  1206.         ESCAPE.
  1207.  
  1208.               $[0;46;"cd \tmp";13;"ZCOMM call -200 cbbs-r";13p
  1209.               $[0;35;"ZCOMM call host";13p
  1210.               $[0;47;"cd \tmp";13;"ZCOMM call cissig";13p
  1211.  
  1212.         ZCOMM uses the ROM BIOS CRT functions and direct output to the
  1213.         display, bypassing any processing provided by ANSI.SYS.  Perhaps
  1214.         someday Microsoft will enhance ANSI.SYS to make it useful for programs
  1215.         like ZCOMM ...
  1216.  
  1217.         26.15  PRINT.COM
  1218.  
  1219.         Once the DOS PRINT program is memory resident, file downloads at high
  1220.         speeds (38kb on a PC) suffer from interference, even if a file is not
  1221.         currently being printed.
  1222.  
  1223.         With certain printers, the DOS PRINT command will preempt the running
  1224.         program for several seconds at a time.  These "swapouts" can be
  1225.         confusing when you are accessing an interactive application.  They may
  1226.         interfere with file transfers, especially if the remote program uses
  1227.         "tight" timing.  If this happens, PRINT should be suspended during
  1228.         file transfers.  Operation of the PRINT command does not appear to
  1229.         cause loss of data downloaded from timesharing services at 1200 bps,
  1230.         as long as the interruptions last less than ten seconds.  Perhaps IBM
  1231.         or Microsoft will someday fix this bug in the DOS PRINT command.
  1232.         PRINT should not be invoked from ZCOMM for the first time as DOS
  1233.         memory allocation will become fragmented.
  1234.  
  1235.         If PRINT or some other spooler is outputting to a serial port using
  1236.         the BIOS INT 14h serial port driver, ZCOMM's "!~subprogram" command
  1237.         will redirect the printer output to the remote and thus should be
  1238.         avoided.
  1239.  
  1240.         26.16  SWITCHAR = -
  1241.  
  1242.         ZCOMM will work properly when the switch character is set to "-",
  1243.         allowing Unix style pathnames.  The - numeric parameter must be set
  1244.         non zero to allow ZCOMM shell escapes to use / to delimit directories.
  1245.  
  1246.         It may be necessary to remove this line from CONFIG.SYS and reboot DOS
  1247.         before using the IBM dump and restore commands.
  1248.         N.B.: DOS 3.0 does not support SWITCHAR in the config.sys file.  C'est
  1249.         la vie.  A short program, DASH, will set switchar to -.  It prevents
  1250.         many oaths.
  1251.  
  1252.         For demanding applications requiring sophistication, power and support
  1253.         not provided by any user supported communications program, Omen
  1254.         Technology provides Professional-YAM Integrated Communications Tools.
  1255.         Pro-YAM is also published by the POLYTRON Corporation under the trade
  1256.         name PowerCom.
  1257.  
  1258.  
  1259.         (C) 1987 Omen Tech Inc                 Chapter 26 Background Operation
  1260.  
  1261.  
  1262.         Revised 09-05-87                        Universal Line Printer Edition
  1263.         ZCOMM User Manual                                                  172
  1264.  
  1265.  
  1266.         27.  BACKGROUND OPERATION
  1267.  
  1268.         ZCOMM and the help processor YHP run under TopView, DESQview,
  1269.         Carousel, and Windows, PC-DOS based multiprogramming systems that
  1270.         support virtual video memory access.[1]
  1271.  
  1272.         These operating environments allow multiple programs to run
  1273.         concurrently on the same computer.  Vertical applications can use the
  1274.         high level menus to simplify the customer interface.
  1275.  
  1276.         The default "performance settings" allow nearly full speed file
  1277.         download and scripted data capture from dial-up services when other
  1278.         processes are not accessing the floppy disks.
  1279.  
  1280.         Older versions of DOS provide only 20 file slots which must be shared
  1281.         by all programs, running or suspended.  This can cause unexpected,
  1282.         irreproducible problems with script processing.
  1283.  
  1284.         DOS's file system semantics can cause unexpected results when one
  1285.         program is writing to a file while another program is reading the
  1286.         file.  Unlike Unix, data written by a program does not become visible
  1287.         until the file is closed.
  1288.  
  1289.         Program Information parameters: YAMS - 192 kb allows for modest shell
  1290.         escapes, 256k is suggested for ZCOMM.  If memory is scarce, YAMS can
  1291.         run in about 100k with no shell escapes allowed and the circular
  1292.         buffer made smaller with a "set CBSIZE 4000" command given to DOS.
  1293.         ZCOMM* and YHP do not write directly to screen, do not access system
  1294.         keyboard buffer, run in the background, use their own colors
  1295.         (optional), accept keyboard typeahead, and the window may close on
  1296.         exit to DOS.  They cannot be swapped because modem interrupts call
  1297.         ZCOMM directly.
  1298.  
  1299.  
  1300.         27.1  DESQview
  1301.  
  1302.         DESQview 2.0 on 286 and 386 machines provides a congenial environment
  1303.         for ZCOMM.
  1304.  
  1305.         The Allow Close Window Command Advanced Option must be set to N,
  1306.         allowing ZCOMM to restore the serial port to a safe configuration when
  1307.         exiting.
  1308.  
  1309.  
  1310.  
  1311.  
  1312.  
  1313.         __________
  1314.  
  1315.          1. BIOS interrupt 10h, ah=0FF and ah=0FE
  1316.  
  1317.  
  1318.  
  1319.         (C) 1987 Omen Tech Inc                 Chapter 27 Background Operation
  1320.  
  1321.  
  1322.         Revised 09-05-87                        Universal Line Printer Edition
  1323.         ZCOMM User Manual                                                  173
  1324.  
  1325.  
  1326.         27.2  Microsoft Windows
  1327.  
  1328.         Windows lacks a preemptive scheduler.  Other programs can seize the
  1329.         computer for long periods, rendering background communications
  1330.         impossible.
  1331.  
  1332.         Windows int 10h support reduces ZCOMM's writing speed by more than 90
  1333.         per cent.  Since Windows will not give ZCOMM a full sized window, full
  1334.         screen interactive applications (screen editors, etc.) cannot be run
  1335.         from within a window.  ZCOMM will display normally if the .PIF file
  1336.         specifies direct screen writing.
  1337.  
  1338.  
  1339.  
  1340.  
  1341.  
  1342.  
  1343.  
  1344.  
  1345.  
  1346.  
  1347.  
  1348.  
  1349.  
  1350.  
  1351.  
  1352.  
  1353.  
  1354.  
  1355.  
  1356.  
  1357.  
  1358.  
  1359.  
  1360.  
  1361.  
  1362.  
  1363.  
  1364.  
  1365.  
  1366.  
  1367.  
  1368.  
  1369.  
  1370.  
  1371.  
  1372.  
  1373.  
  1374.  
  1375.  
  1376.  
  1377.  
  1378.  
  1379.         (C) 1987 Omen Tech Inc             Chapter 27 Crosstalk-XVI Conversion
  1380.  
  1381.  
  1382.         Revised 09-05-87                        Universal Line Printer Edition
  1383.         ZCOMM User Manual                                                  174
  1384.  
  1385.  
  1386.         28.  CROSSTALK-XVI CONVERSION
  1387.  
  1388.         This chapter lists Crosstalk-XVI commands and gives the ZCOMM
  1389.         commands, modes, and parameters that perform equivalent or superior
  1390.         functions.
  1391.  
  1392.         ABort Use the abort command.
  1393.  
  1394.         ACcept ZCOMM's security protection is based on DOS directory trees and
  1395.             multiple levels of privilege controlled by passwords.
  1396.  
  1397.         ALarm Use the lput command to send a bell character (\7) to the local
  1398.             "screen".
  1399.  
  1400.         ANswerback Transmission of the answerback string parameter is enabled
  1401.             by the q mode.
  1402.  
  1403.         ASk Use the accept command.
  1404.  
  1405.         ATtention ALT-2 allows a ZCOMM command to be entered from term
  1406.             function.
  1407.  
  1408.         BKsize This command relates to Crosstalk's proprietary protocol.
  1409.  
  1410.         BLankex See blankfill string parameter.
  1411.  
  1412.         BReak ZCOMM uses ALT-B or Ctrl-Break to send a break.  A string or
  1413.             command assigned to the Ctrl-Break key supercedes its function in
  1414.             the term function.
  1415.  
  1416.         BYe Use the bye command.
  1417.  
  1418.         CApture Capture is always enabled in ZCOMM.
  1419.  
  1420.         CDir Use the cd command.  Unlike Crosstalk, ZCOMM supports full DOS
  1421.             pathnames wherever a file name is expected.
  1422.  
  1423.         CLear Use cls.
  1424.  
  1425.         COmmand In Host Operation, callers type commands directly to ZCOMM.
  1426.  
  1427.         CStat Use ALT-S or the s command for status information not shown by
  1428.             the term function status line.  The review function provides
  1429.             flexible buffer searching commands.
  1430.  
  1431.         CWait See the t mode and t numeric parameter.
  1432.  
  1433.         DAta Use the 7e, 7o, 7s, 7m, 8, 8n, 8e, or 8o mode.
  1434.  
  1435.         DEbug Use v or vv mode.  This may be toggled with ALT-V from the term
  1436.             function.  In addition, ZCOMM's v numeric parameter helps debug
  1437.  
  1438.  
  1439.         (C) 1987 Omen Tech Inc             Chapter 28 Crosstalk-XVI Conversion
  1440.  
  1441.  
  1442.         Revised 09-05-87                        Universal Line Printer Edition
  1443.         ZCOMM User Manual                                                  175
  1444.  
  1445.  
  1446.             scripts.
  1447.  
  1448.         DIr Use one of the dir commands.  Arguments correspond to DOS usage.
  1449.  
  1450.         DNames The maximum number of names in a directory expansion is
  1451.             controlled by the optional DOS DIRSIZE environment variable.
  1452.             Large directories slow DOS and should be avoided.  The DOS tree
  1453.             structure allows files to be logically grouped into directories.
  1454.             ZCOMM fully supports the DOS tree structure.
  1455.  
  1456.         DO  See the call, source, and gosub commands.
  1457.  
  1458.         DPrefix See the mprefix and mcommand string parameters.
  1459.  
  1460.         DRive Use "D:" to select a drive.
  1461.  
  1462.         DSuffix See the msuffix string parameter.
  1463.  
  1464.         DUplex Use h or H modes.  ALT-H toggles the half duplex modes from the
  1465.             term function.  Also see the chat command.
  1466.  
  1467.         EMulate See the display command and the A mode.  Function keys may be
  1468.             defined with the set command.
  1469.  
  1470.         ERase Use kill to clear the buffer, del to delete a file, browse to
  1471.             browse (and selectively delete) multiple files.
  1472.  
  1473.         FIlter See the i, s, and S modes.
  1474.  
  1475.         FKeys See the set, reskeys, and keys commands.
  1476.  
  1477.         GO  To dial a phone number, type the number directly, or use a call
  1478.             command.  call -n allows up to n retries at intervals set by the i
  1479.             numeric parameter.  ZCOMM does not need a special command to work
  1480.             with a direct RS-232 connection.
  1481.  
  1482.         HElp Use the help command.
  1483.  
  1484.         IF  See the ZCOMM if command and the i test condition.
  1485.  
  1486.         INfilter See the i, s, and S modes.
  1487.  
  1488.         JUmp Use goto label.
  1489.  
  1490.         LAbel Labels are denoted with a colon (:).
  1491.  
  1492.         LFauto See a mode, chat command.
  1493.  
  1494.         LIst Use the s command.
  1495.  
  1496.  
  1497.  
  1498.  
  1499.         (C) 1987 Omen Tech Inc             Chapter 28 Crosstalk-XVI Conversion
  1500.  
  1501.  
  1502.         Revised 09-05-87                        Universal Line Printer Edition
  1503.         ZCOMM User Manual                                                  176
  1504.  
  1505.  
  1506.         LOad Equivalent to the source or gosub commands.  Since ZCOMM does not
  1507.             load the script file into memory, there is no limit to the length
  1508.             of script files.
  1509.  
  1510.         LWait See the p, r, w, P modes.
  1511.  
  1512.         MEssage Use the echo or lput command.
  1513.  
  1514.         MOde See the manual chapter on Host Operation.
  1515.  
  1516.         NAme The name of the called location is taken from the telephone
  1517.             directory entry name.
  1518.  
  1519.         NO  This ia an internal Crosstalk command.
  1520.  
  1521.         NUmber The phone number is itself given as a command, either directly
  1522.             or as part of a script or telephone directory entry.
  1523.  
  1524.         OUtfilter See the r mode.
  1525.  
  1526.         PArity Use the 7e, 7o, 7s, 7m, 8, 8n, 8e, or 8o mode.
  1527.  
  1528.         PIcture Use ALT-Z to store a complete picture of the screen (including
  1529.             attributes) at ANY time.
  1530.  
  1531.         POrt Use the POrt command.
  1532.  
  1533.         PRinter Use the l mode, or toggle with ALT-L from the term function.
  1534.             ZCOMM buffers the printer to prevent loss of data.
  1535.  
  1536.         PWord See the password and unrestrict string parameters.
  1537.  
  1538.         QUit Use the off command.  ZCOMM writes the circular buffer to the
  1539.             receive file if one is open before exiting to DOS, but does not
  1540.             complain if none is open.
  1541.  
  1542.         RCve Crosstalk internal command.
  1543.  
  1544.         REply Use the put or mput command depending on timing considerations.
  1545.  
  1546.         RQuest The ZMODEM, YMODEM and Kermit batch transfer protocols
  1547.             supported by ZCOMM use filenames specified to the sending program.
  1548.  
  1549.         RWind Use a goto command to a label near the beginning of the script.
  1550.  
  1551.         SAve ZCOMM does not use "command files" in the sense that Crosstalk
  1552.             does.  The few operating parameters that ZCOMM needs set for
  1553.             interactive operation can be expressed conveniently in one line
  1554.             telephone directory entries.
  1555.  
  1556.  
  1557.  
  1558.  
  1559.         (C) 1987 Omen Tech Inc             Chapter 28 Crosstalk-XVI Conversion
  1560.  
  1561.  
  1562.         Revised 09-05-87                        Universal Line Printer Edition
  1563.         ZCOMM User Manual                                                  177
  1564.  
  1565.  
  1566.         SBreak Use the break command.
  1567.  
  1568.         SEnd Use the f command
  1569.  
  1570.         SKip Use the goto command.
  1571.  
  1572.         SNapshot Use ZCOMM's review function review past output from the
  1573.             remote.
  1574.  
  1575.         SPeed ZCOMM's speed command accepts all possible speeds from 75 to
  1576.             38400.  The whole number must be entered.
  1577.  
  1578.         STop Use an odd speed or 110 to force two stop bits.
  1579.  
  1580.         SWitch Use F-1 to exit the term function back to the command prompt,
  1581.             F-2 or one of the cursor keys to get from the term function to
  1582.             review.
  1583.  
  1584.         TAbex ZCOMM does not expand tabs on uploaded files.  This is one
  1585.             Crosstalk feature for which there is no ZCOMM equivalent.
  1586.  
  1587.         TImer Use the display stat=off command to disable the term function
  1588.             status line.
  1589.  
  1590.         TYpe Use the review function to access the buffer contents.  The
  1591.             findm, type, more, and browse/r commands may be used to view disk
  1592.             files.
  1593.  
  1594.         UConly Use the u mode.
  1595.  
  1596.         WAit
  1597.  
  1598.             Echo Use the p mode.
  1599.  
  1600.             Quiet Use the wait command with a suitable timeout.
  1601.  
  1602.             Delay Use the sleep command.
  1603.  
  1604.             Char Use the p command with the g numeric parameter set to the
  1605.                 desired character.
  1606.  
  1607.             Prompt Use the p or w mode.
  1608.  
  1609.             String Use the pattern and wait commands.  Case is significant.
  1610.  
  1611.             Until Use the if command a condition, alone or with the callout
  1612.                 queue.
  1613.  
  1614.             Manual As above.
  1615.  
  1616.  
  1617.  
  1618.  
  1619.         (C) 1987 Omen Tech Inc             Chapter 28 Crosstalk-XVI Conversion
  1620.  
  1621.  
  1622.         Revised 09-05-87                        Universal Line Printer Edition
  1623.         ZCOMM User Manual                                                  178
  1624.  
  1625.  
  1626.         WHen ZCOMM's pattern and wait commands allow development of scripts
  1627.             for unattended operation.
  1628.  
  1629.         WRite Equivalent to the w command.
  1630.  
  1631.         XDos Equivalent to ZCOMM's x command.
  1632.  
  1633.         XMit This uses Crosstalk's proprietary protocol.  With ZMODEM, one can
  1634.             use sz on the local system to send files automatically.
  1635.             Otherwise, use rb in the remote system, sb on the local system.
  1636.  
  1637.  
  1638.  
  1639.  
  1640.  
  1641.  
  1642.  
  1643.  
  1644.  
  1645.  
  1646.  
  1647.  
  1648.  
  1649.  
  1650.  
  1651.  
  1652.  
  1653.  
  1654.  
  1655.  
  1656.  
  1657.  
  1658.  
  1659.  
  1660.  
  1661.  
  1662.  
  1663.  
  1664.  
  1665.  
  1666.  
  1667.  
  1668.  
  1669.  
  1670.  
  1671.  
  1672.  
  1673.  
  1674.  
  1675.  
  1676.  
  1677.  
  1678.  
  1679.         (C) 1987 Omen Tech Inc                           Chapter 28 ASCII Code
  1680.  
  1681.  
  1682.         Revised 09-05-87                        Universal Line Printer Edition
  1683.         ZCOMM User Manual                                                  179
  1684.  
  1685.  
  1686.         29.  1968 ASCII CODE
  1687.  
  1688.         X3.64     Dec  Oct  Hex  EBCDIC
  1689.  
  1690.         0/0  000  000  00   00   NUL  ^@   Null, Ctrl-@
  1691.         0/1  001  001  01   01   SOH  ^A   Start of Header
  1692.         0/2  002  002  02   02   STX  ^B   Start of Text
  1693.         0/3  003  003  03   03   ETX  ^C   End of Text
  1694.         0/4  004  004  04   37   EOT  ^D   End of Transmission
  1695.         0/5  005  005  05   2D   ENQ  ^E   Enquire, WRU
  1696.         0/6  006  006  06   2E   ACK  ^F   HEREIS
  1697.         0/7  007  007  07   2F   BEL  ^G   Bell
  1698.         0/8  008  010  08   16   BS   ^H   Backspace, \b
  1699.         0/9  009  011  09   05   HT   ^I   TAB, \t
  1700.         0/10 010  012  0A   25   LF   ^J   Newline, NL, \n
  1701.         0/11 011  013  0B   0B   VT   ^K   Vertical Tab
  1702.         0/12 012  014  0C   0C   FF   ^L   Form Feed, \f
  1703.         0/13 013  015  0D   0D   CR   ^M   Return, \r,
  1704.         0/14 014  016  0E   0E   SO   ^N   Shift Out
  1705.         0/15 015  017  0F   0F   SI   ^O   Shift in
  1706.  
  1707.         1/0  016  020  10   10   DLE  ^P
  1708.         1/1  017  021  11   11   DC1  ^Q   XON, Start Reader
  1709.         1/2  018  022  12   12   DC2  ^R   DC2, Tape Punch ON
  1710.         1/3  019  023  13   13   DC3  ^S   XOFF, Stop Reader
  1711.         1/4  020  024  14   3C   DC4  ^T   DC4, Tape Punch OFF
  1712.         1/5  021  025  15   3D   NAK  ^U   Nak
  1713.         1/6  022  026  16   32   SYN  ^V   Sync
  1714.         1/7  023  027  17   26   ETB  ^W   End of Tape Block
  1715.         1/8  024  030  18   18   CAN  ^X   Cancel
  1716.         1/9  025  031  19   19   EM   ^Y   End of Medium
  1717.         1/10 026  032  1A   3F   SUB  ^Z   CP/M End of File
  1718.         1/11 027  033  1B   27   ESC  ^[   Escape, \E
  1719.         1/12 028  034  1C   1C   FS   ^\   File Separator
  1720.         1/13 029  035  1D   1D   GS   ^]   Group Separator
  1721.         1/14 030  036  1E   1E   RS   ^^   Record Separator
  1722.         1/15 031  037  1F   1F   US   ^_   Unit Separator
  1723.  
  1724.  
  1725.  
  1726.  
  1727.  
  1728.  
  1729.  
  1730.  
  1731.  
  1732.  
  1733.  
  1734.  
  1735.  
  1736.  
  1737.  
  1738.  
  1739.         (C) 1987 Omen Tech Inc                           Chapter 29 ASCII Code
  1740.  
  1741.  
  1742.         Revised 09-05-87                        Universal Line Printer Edition
  1743.         ZCOMM User Manual                                                  180
  1744.  
  1745.  
  1746.         X3.64     Dec  Oct  Hex  EBCDIC
  1747.  
  1748.         2/0  032  040  20   40   SP   Space
  1749.         2/1  033  041  21   5A   !    Bang, exclamation mark
  1750.         2/2  034  042  22   7F   "    Double Quote
  1751.         2/3  035  043  23   7B   #
  1752.         2/4  036  044  24   5B   $
  1753.         2/5  037  045  25   6C   %
  1754.         2/6  038  046  26   50   &
  1755.         2/7  039  047  27   7D   '    Apostrophe, Single Quote
  1756.         2/8  040  050  28   4D   (
  1757.         2/9  041  051  29   5D   )
  1758.         2/10 042  052  2A   5C   *    Splat, Star, Nathan
  1759.         2/11 043  053  2B   4E   +
  1760.         2/12 044  054  2C   6B   ,    Comma
  1761.         2/13 045  055  2D   60   -
  1762.         2/14 046  056  2E   4B   .    Period
  1763.         2/15 047  057  2F   61   /    Slash, Stroke
  1764.  
  1765.         3/0  048  060  30   F0   0
  1766.         3/1  049  061  31   F1   1
  1767.         3/2  050  062  32   F2   2
  1768.         3/3  051  063  33   F3   3
  1769.         3/4  052  064  34   F4   4
  1770.         3/5  053  065  35   F5   5
  1771.         3/6  054  066  36   F6   6
  1772.         3/7  055  067  37   F7   7
  1773.         3/8  056  070  38   F8   8
  1774.         3/9  057  071  39   F9   9
  1775.         3/10 058  072  3A   7A   :
  1776.         3/11 059  073  3B   5E   ;
  1777.         3/12 060  074  3C   4C   <
  1778.         3/13 061  075  3D   7E   =
  1779.         3/14 062  076  3E   6E   >
  1780.         3/15 063  077  3F   6F   ?    Question Mark, Query
  1781.  
  1782.  
  1783.  
  1784.  
  1785.  
  1786.  
  1787.  
  1788.  
  1789.  
  1790.  
  1791.  
  1792.  
  1793.  
  1794.  
  1795.  
  1796.  
  1797.  
  1798.  
  1799.         (C) 1987 Omen Tech Inc                           Chapter 29 ASCII Code
  1800.  
  1801.